interface User {
    loginname: string
    password: string
  }
  
  // 导入 axios 的实例
  import http from '../fuwuqi/http'
  
//   export const login = (info: User) => http.post('/user/login', info)
  
//   export const testTelHanlder = (tel: string) => http.post('/user/docheckphone', { tel })
  
//   export const sendCodeHanlder = (tel: string) => http.post('/user/dosendmsgcode', { tel })
  
//   export const testCodeHanlder = (tel: string, telcode: string) => http.post('/user/docheckcode', { tel, telcode })
  
//   export const registerHanlder = (tel: string, password: string) => http.post('/user/dofinishregister', { tel, password })
  